package Code.ExtendDemo.Test3;

public class Worker extends Employee{
    public Worker() {
    }

    public Worker(String id, String name, int salary) {
        super(id, name, salary);
    }

    @Override
    public void wwork() {
        System.out.println(super.getName()+"炒菜");
    }
}
